<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/linkage.js"></script>
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/jquery.dataTable.min.js"></script>
<script type="text/javascript" src="js/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="js/underscore-min.js"></script>
<script type="text/javascript" src="js/controllers/userManageCtrl.js"></script>
</head>
<div class="lg_list_01"
	style="margin: 10px auto; width: 92%; height: 378px; overflow-y: auto; overflow-x: hidden;">
	<div style="width: 100%; height: 50px;">
		<label style="line-height: 40px; color: #333; font-size: 16px;">所有用户信息：</label>
		<button type="button" class="commonLink"
			style="float: right; width: 50px; height: 25px; margin-top: 12px;"
			onclick="queryAllUsers()">刷新</button>
	</div>
	<table class="historyTable">
		<thead>
			<tr>
				<td>姓名</td>
				<td>账号</td>
				<td>身份证号</td>
				<td>手机号</td>
				<td>余额</td>
				<td>审核状态</td>
				<td>操作</td>
			</tr>
		</thead>
		<tbody id="userList">

		</tbody>

	</table>
	<div id="userListNoData"></div>
	<div>
		共<span id="userTotal"></span>页
		<button id="prePageBtn" class="commonLink" type="button"
			onclick="prePage()" style="margin: 0 5px 0 10px; padding: 0 5px;">上一页</button>
		<span>当前页：</span><span id="currentPage"></span>
		<button id="nextPageBtn" class="commonLink" type="button"
			onclick="nextPage()  " style="margin: 0 5px 0 5px; padding: 0 5px;">下一页</button>
	</div>
	<!-- 弹窗 -->
	<div id="modifyUserPsdModal" class="modal" style="background-color: rgba(0, 0, 0, 0)">
		<div class="modal-content bor_det_oner" style="width: 400px;">
			<div style="min-height: 80px;">
				<div style="min-height:65px;">
				<label style="font-size:16px;width:80px;">新密码：</label> 
				<input type="password" class="lg_input02 lg_input" id="newPsd" oninput="validNewPsd(value,'newPsdMsg')"></input>
				<p class="tipMsg" id="newPsdMsg"></p>
				</div>
				<div style="min-height:65px;">
				<label style="font-size:16px;width:80px;">确认密码：</label> 
				<input type="password" class="lg_input02 lg_input" id="againNewPsd" oninput="confirmPsd(value,'againNewPsdMsg')"></input>
				<p class="tipMsg" id="againNewPsdMsg"></p>
				</div>				
			</div>
			<div class="modal-footer">
				<div style="width: 100%;">
					<button type="button" class="commonLink"
						style="margin-right: 10px; width: 70px; height: 30px; font-size: 15px"
						onclick="modifyPwd(row,modifyIndex)">确定</button>
					<button type="button" class="commonLink"
						style="margin-right: 10px; width: 70px; height: 30px; font-size: 15px"
						onclick="closeWindow('modifyUserPsdModal')">取消</button>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
	queryAllUsers();
</script>
<style>
.tipMsg {
	color: #f00;
	margin-left: 98px;
}
</style>
</html>